import service from '@/utils/request'

// @Tags CustomProcessBaseMachineRel
// @Summary 创建CustomProcessBaseMachineRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseMachineRel true "创建CustomProcessBaseMachineRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /customProcessBaseMachineRel/createCustomProcessBaseMachineRel [post]
export const createCustomProcessBaseMachineRel = (data) => {
     return service({
         url: "/customProcessBaseMachineRel/createCustomProcessBaseMachineRel",
         method: 'post',
         data
     })
 }


// @Tags CustomProcessBaseMachineRel
// @Summary 删除CustomProcessBaseMachineRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseMachineRel true "删除CustomProcessBaseMachineRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /customProcessBaseMachineRel/deleteCustomProcessBaseMachineRel [delete]
 export const deleteCustomProcessBaseMachineRel = (data) => {
     return service({
         url: "/customProcessBaseMachineRel/deleteCustomProcessBaseMachineRel",
         method: 'delete',
         data
     })
 }

// @Tags CustomProcessBaseMachineRel
// @Summary 删除CustomProcessBaseMachineRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除CustomProcessBaseMachineRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /customProcessBaseMachineRel/deleteCustomProcessBaseMachineRel [delete]
 export const deleteCustomProcessBaseMachineRelByIds = (data) => {
     return service({
         url: "/customProcessBaseMachineRel/deleteCustomProcessBaseMachineRelByIds",
         method: 'delete',
         data
     })
 }

// @Tags CustomProcessBaseMachineRel
// @Summary 更新CustomProcessBaseMachineRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseMachineRel true "更新CustomProcessBaseMachineRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /customProcessBaseMachineRel/updateCustomProcessBaseMachineRel [put]
 export const updateCustomProcessBaseMachineRel = (data) => {
     return service({
         url: "/customProcessBaseMachineRel/updateCustomProcessBaseMachineRel",
         method: 'put',
         data
     })
 }


// @Tags CustomProcessBaseMachineRel
// @Summary 用id查询CustomProcessBaseMachineRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseMachineRel true "用id查询CustomProcessBaseMachineRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /customProcessBaseMachineRel/findCustomProcessBaseMachineRel [get]
 export const findCustomProcessBaseMachineRel = (params) => {
     return service({
         url: "/customProcessBaseMachineRel/findCustomProcessBaseMachineRel",
         method: 'get',
         params
     })
 }


// @Tags CustomProcessBaseMachineRel
// @Summary 分页获取CustomProcessBaseMachineRel列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取CustomProcessBaseMachineRel列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /customProcessBaseMachineRel/getCustomProcessBaseMachineRelList [get]
 export const getCustomProcessBaseMachineRelList = (params) => {
     return service({
         url: "/customProcessBaseMachineRel/getCustomProcessBaseMachineRelList",
         method: 'get',
         params
     })
 }